package com.Apo1o.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ManagerFenceHouse {
        @JsonProperty("fhId")
    private String fhId;
@JsonProperty("fhName")
    private String fhName;
@JsonProperty("fhDesc")
    private String fhDesc;

@JsonProperty("fhTime")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private Date fhTime;


}